<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>中式烹饪技巧 - 技能交换详情</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #eff6ff;
            --secondary: #64748b;
            --light: #f8fafc;
            --dark: #1e293b;
            --success: #10b981;
            --danger: #ef4444;
            --warning: #f59e0b;
            --border: #e2e8f0;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }
        
        .navbar {
            box-shadow: var(--shadow);
            background-color: white;
        }
        
        .container {
            padding: 2rem 0;
        }
        
        .page-header {
            margin-bottom: 2rem;
        }
        
        .page-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .page-description {
            color: var(--secondary);
            max-width: 800px;
        }
        
        /* 技能详情卡片 */
        .skill-detail-card {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        
        /* 技能图片区域 */
        .skill-gallery {
            position: relative;
            height: 400px;
            background-color: #f1f5f9;
        }
        
        .main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .image-thumbnails {
            display: flex;
            gap: 0.5rem;
            padding: 1rem;
            overflow-x: auto;
            scrollbar-width: thin;
        }
        
        .image-thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 0.5rem;
            object-fit: cover;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
        }
        
        .image-thumbnail.active {
            border-color: var(--primary);
        }
        
        .image-thumbnail:hover:not(.active) {
            border-color: var(--primary-light);
        }
        
        /* 技能信息区域 */
        .skill-info-container {
            padding: 1.5rem;
        }
        
        .skill-header {
            margin-bottom: 1.5rem;
        }
        
        .skill-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        
        .skill-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            color: var(--secondary);
            margin-bottom: 1rem;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }
        
        .meta-item i {
            color: var(--primary);
        }
        
        /* 技能提供者信息 */
        .provider-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            background-color: var(--primary-light);
            border-radius: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .provider-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid white;
            box-shadow: var(--shadow);
        }
        
        .provider-details {
            flex-grow: 1;
        }
        
        .provider-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }
        
        .provider-rating {
            color: var(--warning);
            margin-bottom: 0.25rem;
        }
        
        .provider-meta {
            font-size: 0.85rem;
            color: var(--secondary);
        }
        
        /* 技能详情内容 */
        .skill-content {
            margin-bottom: 2rem;
        }
        
        .content-section {
            margin-bottom: 1.5rem;
        }
        
        .section-title {
            font-weight: 600;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--dark);
        }
        
        .section-title i {
            color: var(--primary);
        }
        
        .skill-description {
            line-height: 1.8;
            color: var(--dark);
        }
        
        .skill-details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .detail-item {
            display: flex;
            flex-direction: column;
        }
        
        .detail-label {
            font-size: 0.9rem;
            color: var(--secondary);
            margin-bottom: 0.25rem;
        }
        
        .detail-value {
            font-weight: 500;
        }
        
        .skill-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .skill-tag {
            padding: 0.5rem 1rem;
            border-radius: 999px;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .offering-tag {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }
        
        .seeking-tag {
            background-color: rgba(59, 130, 246, 0.1);
            color: var(--primary);
        }
        
        /* 操作按钮区域 */
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 500;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .btn-primary:hover {
            background-color: #2563eb;
            border-color: #2563eb;
        }
        
        .btn-outline-primary {
            background-color: transparent;
            border-color: var(--primary);
            color: var(--primary);
        }
        
        .btn-outline-primary:hover {
            background-color: var(--primary-light);
        }
        
        .btn-success {
            background-color: var(--success);
            border-color: var(--success);
        }
        
        .btn-success:hover {
            background-color: #059669;
            border-color: #059669;
        }
        
        .btn-warning {
            background-color: var(--warning);
            border-color: var(--warning);
        }
        
        .btn-warning:hover {
            background-color: #d97706;
            border-color: #d97706;
        }
        
        /* 点赞收藏分享工具栏 */
        .social-tools {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 2rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }
        
        .social-tool {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--secondary);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .social-tool:hover {
            color: var(--primary);
        }
        
        .social-tool.active {
            color: var(--danger);
        }
        
        .social-tool i {
            font-size: 1.1rem;
        }
        
        /* 相关技能推荐 */
        .related-skills {
            margin-bottom: 2rem;
        }
        
        .skills-slider {
            display: flex;
            gap: 1.5rem;
            overflow-x: auto;
            scrollbar-width: thin;
            padding-bottom: 1rem;
        }
        
        .related-skill-card {
            min-width: 280px;
            background-color: white;
            border-radius: 0.75rem;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .related-skill-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }
        
        .related-skill-image {
            height: 160px;
        }
        
        .related-skill-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .related-skill-info {
            padding: 1rem;
        }
        
        .related-skill-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 1.05rem;
        }
        
        .related-skill-provider {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.85rem;
            color: var(--secondary);
            margin-bottom: 0.75rem;
        }
        
        .related-provider-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        /* 留言区域 */
        .comments-section {
            background-color: white;
            border-radius: 0.75rem;
            box-shadow: var(--shadow);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .comments-title {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .comments-title i {
            color: var(--primary);
        }
        
        .comments-count {
            color: var(--secondary);
            font-size: 0.9rem;
            margin-left: 0.5rem;
        }
        
        /* 留言输入框 */
        .comment-input-container {
            margin-bottom: 2rem;
        }
        
        .comment-form {
            display: flex;
            gap: 1rem;
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--primary-light);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: 600;
        }
        
        .comment-input-wrapper {
            flex-grow: 1;
        }
        
        .comment-input {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--border);
            border-radius: 0.75rem;
            resize: none;
            min-height: 100px;
            font-family: inherit;
            transition: all 0.2s;
        }
        
        .comment-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .comment-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.75rem;
            gap: 1rem;
        }
        
        /* 留言列表 */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }
        
        .comment-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .comment-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: var(--primary-light);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: 600;
        }
        
        .comment-content {
            flex-grow: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .comment-author {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .comment-time {
            font-size: 0.8rem;
            color: var(--secondary);
        }
        
        .comment-text {
            margin-bottom: 0.75rem;
            line-height: 1.7;
        }
        
        .comment-footer {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
        }
        
        .comment-action {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            color: var(--secondary);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: var(--danger);
        }
        
        /* 回复区域 */
        .replies-container {
            margin-top: 1rem;
            margin-left: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
            padding: 0.75rem;
            background-color: var(--light);
            border-radius: 0.5rem;
        }
        
        .reply-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: white;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.8rem;
        }
        
        .reply-content {
            flex-grow: 1;
        }
        
        .reply-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.25rem;
            font-size: 0.85rem;
        }
        
        .reply-author {
            font-weight: 600;
        }
        
        .reply-time {
            color: var(--secondary);
            font-size: 0.75rem;
        }
        
        .reply-text {
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }
        
        .reply-footer {
            display: flex;
            gap: 1rem;
            font-size: 0.75rem;
        }
        
        /* 回复输入框 */
        .reply-input-container {
            margin-top: 0.75rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-input {
            flex-grow: 1;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 0.5rem;
            resize: none;
            min-height: 70px;
            font-family: inherit;
            font-size: 0.9rem;
        }
        
        .reply-input:focus {
            outline: none;
            border-color: var(--primary);
        }
        
        .reply-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.5rem;
            gap: 0.75rem;
        }
        
        .btn-sm {
            padding: 0.35rem 0.75rem;
            font-size: 0.85rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .skill-gallery {
                height: 320px;
            }
            
            .skill-details-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .skill-gallery {
                height: 260px;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .provider-info {
                flex-direction: column;
                text-align: center;
            }
            
            .provider-actions {
                width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .skill-gallery {
                height: 200px;
            }
            
            .skill-title {
                font-size: 1.5rem;
            }
            
            .skill-meta {
                gap: 1rem;
            }
            
            .skill-details-grid {
                grid-template-columns: 1fr;
            }
            
            .social-tools {
                flex-wrap: wrap;
            }
            
            .comment-form {
                flex-direction: column;
            }
            
            .user-avatar {
                margin: 0 auto;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar navbar-expand-lg navbar-light">
        <div class="container">
            <a class="navbar-brand" href="#">
                <i class="fas fa-exchange-alt text-primary me-2"></i>技能交换平台
            </a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav me-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#">首页</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link active" href="#">技能交换</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">发现人才</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#">成功案例</a>
                    </li>
                </ul>
                <div class="d-flex align-items-center gap-3">
                    <button class="btn btn-outline-primary">登录</button>
                    <button class="btn btn-primary">注册</button>
                </div>
            </div>
        </div>
    </nav>
    
    <!-- 主要内容区 -->
    <div class="container">
        <div class="row">
            <!-- 左侧主内容 -->
            <div class="col-lg-8">
                <!-- 技能详情卡片 -->
                <div class="skill-detail-card">
                    <!-- 技能图片区域 -->
                    <div class="skill-gallery">
                        <img src="https://picsum.photos/1200/800?random=1" alt="中式烹饪技巧展示" class="main-image" id="mainImage">
                    </div>
                    
                    <div class="image-thumbnails">
                        <img src="https://picsum.photos/1200/800?random=1" alt="烹饪展示图1" class="image-thumbnail active" data-img="https://picsum.photos/1200/800?random=1">
                        <img src="https://picsum.photos/1200/800?random=2" alt="烹饪展示图2" class="image-thumbnail" data-img="https://picsum.photos/1200/800?random=2">
                        <img src="https://picsum.photos/1200/800?random=3" alt="烹饪展示图3" class="image-thumbnail" data-img="https://picsum.photos/1200/800?random=3">
                        <img src="https://picsum.photos/1200/800?random=4" alt="烹饪展示图4" class="image-thumbnail" data-img="https://picsum.photos/1200/800?random=4">
                        <img src="https://picsum.photos/1200/800?random=5" alt="烹饪展示图5" class="image-thumbnail" data-img="https://picsum.photos/1200/800?random=5">
                    </div>
                    
                    <!-- 技能信息区域 -->
                    <div class="skill-info-container">
                        <div class="skill-header">
                            <h1 class="skill-title">中式烹饪技巧</h1>
                            
                            <div class="skill-meta">
                                <div class="meta-item">
                                    <i class="fas fa-map-marker-alt"></i>
                                    <span>上海 · 可线上交流</span>
                                </div>
                                <div class="meta-item">
                                    <i class="fas fa-calendar-alt"></i>
                                    <span>发布于 2023-05-18</span>
                                </div>
                                <div class="meta-item">
                                    <i class="fas fa-eye"></i>
                                    <span>3.5k 浏览</span>
                                </div>
                                <div class="meta-item">
                                    <i class="fas fa-comment"></i>
                                    <span>42 评论</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 技能提供者信息 -->
                        <div class="provider-info">
                            <img src="https://picsum.photos/200/200?random=10" alt="张文静的头像" class="provider-avatar">
                            <div class="provider-details">
                                <div class="provider-name">张文静</div>
                                <div class="provider-rating">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star-half-alt"></i>
                                    <span class="ms-1">4.8 (126条评价)</span>
                                </div>
                                <div class="provider-meta">
                                    <span>加入于 2022-03</span> · 
                                    <span>完成 48 次技能交换</span> · 
                                    <span>3.2km 距离</span>
                                </div>
                            </div>
                            <div class="provider-actions">
                                <button class="btn btn-primary">
                                    <i class="fas fa-comment"></i> 联系TA
                                </button>
                            </div>
                        </div>
                        
                        <!-- 技能详情内容 -->
                        <div class="skill-content">
                            <div class="content-section">
                                <h3 class="section-title">
                                    <i class="fas fa-info-circle"></i> 技能描述
                                </h3>
                                <div class="skill-description">
                                    <p>大家好！我有8年的中式烹饪经验，尤其擅长川菜和粤菜。可以教授从基础刀工、食材处理到复杂菜品的制作技巧。</p>
                                    <p>无论是家常小炒、汤羹炖煮，还是节日宴客菜，我都可以详细指导。我会根据你的学习进度和口味偏好定制教学内容，保证你能快速掌握实用的烹饪技巧。</p>
                                    <p>适合烹饪新手入门，或有一定基础想提升厨艺的朋友。可以线上视频教学，也可以线下实操指导（上海地区）。</p>
                                </div>
                            </div>
                            
                            <div class="content-section">
                                <h3 class="section-title">
                                    <i class="fas fa-exchange-alt"></i> 技能交换
                                </h3>
                                <div class="skill-tags">
                                    <div class="skill-tag offering-tag">
                                        <i class="fas fa-hand-holding-heart"></i> 提供: 中式烹饪
                                    </div>
                                    <div class="skill-tag offering-tag">
                                        <i class="fas fa-hand-holding-heart"></i> 提供: 川菜技巧
                                    </div>
                                    <div class="skill-tag offering-tag">
                                        <i class="fas fa-hand-holding-heart"></i> 提供: 粤菜技巧
                                    </div>
                                    <div class="skill-tag seeking-tag">
                                        <i class="fas fa-hand-sparkles"></i> 寻求: 吉他基础
                                    </div>
                                    <div class="skill-tag seeking-tag">
                                        <i class="fas fa-hand-sparkles"></i> 寻求: 简单弹唱
                                    </div>
                                </div>
                            </div>
                            
                            <div class="content-section">
                                <h3 class="section-title">
                                    <i class="fas fa-list-check"></i> 详细信息
                                </h3>
                                <div class="skill-details-grid">
                                    <div class="detail-item">
                                        <span class="detail-label">技能分类</span>
                                        <span class="detail-value">烹饪美食</span>
                                    </div>
                                    <div class="detail-item">
                                        <span class="detail-label">交流方式</span>
                                        <span class="detail-value">线上 / 线下</span>
                                    </div>
                                    <div class="detail-item">
                                        <span class="detail-label">经验水平</span>
                                        <span class="detail-value">专业级</span>
                                    </div>
                                    <div class="detail-item">
                                        <span class="detail-label">可交流时间</span>
                                        <span class="detail-value">周末全天、工作日晚上</span>
                                    </div>
                                    <div class="detail-item">
                                        <span class="detail-label">教学时长</span>
                                        <span class="detail-value">每次1-2小时</span>
                                    </div>
                                    <div class="detail-item">
                                        <span class="detail-label">交换形式</span>
                                        <span class="detail-value">一对一指导</span>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="content-section">
                                <h3 class="section-title">
                                    <i class="fas fa-lightbulb"></i> 学习收获
                                </h3>
                                <div class="skill-description">
                                    <p>通过技能交换，你将能够：</p>
                                    <ul>
                                        <li>掌握10+道经典家常菜的制作方法</li>
                                        <li>学习食材选购、处理和保存技巧</li>
                                        <li>了解中式烹饪的调味秘诀和火候控制</li>
                                        <li>提升刀工和厨房操作的安全性</li>
                                        <li>学会根据季节变化调整菜单和食材</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 操作按钮 -->
                        <div class="action-buttons">
                            <button class="btn btn-primary">
                                <i class="fas fa-comment"></i> 发起交流
                            </button>
                            <button class="btn btn-outline-primary" id="saveSkill">
                                <i class="fas fa-bookmark"></i> 收藏技能
                            </button>
                            <button class="btn btn-success">
                                <i class="fas fa-share-alt"></i> 分享
                            </button>
                        </div>
                        
                        <!-- 点赞收藏分享工具栏 -->
                        <div class="social-tools">
                            <div class="social-tool active" id="likeButton">
                                <i class="fas fa-heart"></i>
                                <span>点赞 (826)</span>
                            </div>
                            <div class="social-tool">
                                <i class="fas fa-comment"></i>
                                <span>评论 (42)</span>
                            </div>
                            <div class="social-tool">
                                <i class="fas fa-bookmark"></i>
                                <span>收藏 (156)</span>
                            </div>
                            <div class="social-tool">
                                <i class="fas fa-share-alt"></i>
                                <span>分享</span>
                            </div>
                            <div class="social-tool">
                                <i class="fas fa-flag"></i>
                                <span>举报</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 相关技能推荐 -->
                <div class="related-skills">
                    <h3 class="section-title">
                        <i class="fas fa-thumbs-up"></i> 你可能也感兴趣
                    </h3>
                    <div class="skills-slider">
                        <!-- 相关技能1 -->
                        <div class="related-skill-card">
                            <div class="related-skill-image">
                                <img src="https://picsum.photos/600/400?random=10" alt="西式烘焙技巧" class="img-fluid">
                            </div>
                            <div class="related-skill-info">
                                <div class="related-skill-title">西式烘焙技巧</div>
                                <div class="related-skill-provider">
                                    <div class="related-provider-avatar">刘</div>
                                    <span>刘甜甜</span>
                                </div>
                                <div class="skills-tags">
                                    <span class="skill-tag offering-tag">提供: 烘焙</span>
                                    <span class="skill-tag seeking-tag">寻求: 瑜伽</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 相关技能2 -->
                        <div class="related-skill-card">
                            <div class="related-skill-image">
                                <img src="https://picsum.photos/600/400?random=11" alt="咖啡制作与品鉴" class="img-fluid">
                            </div>
                            <div class="related-skill-info">
                                <div class="related-skill-title">咖啡制作与品鉴</div>
                                <div class="related-skill-provider">
                                    <div class="related-provider-avatar">王</div>
                                    <span>王咖啡</span>
                                </div>
                                <div class="skills-tags">
                                    <span class="skill-tag offering-tag">提供: 咖啡</span>
                                    <span class="skill-tag seeking-tag">寻求: 摄影</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 相关技能3 -->
                        <div class="related-skill-card">
                            <div class="related-skill-image">
                                <img src="https://picsum.photos/600/400?random=12" alt="日式料理入门" class="img-fluid">
                            </div>
                            <div class="related-skill-info">
                                <div class="related-skill-title">日式料理入门</div>
                                <div class="related-skill-provider">
                                    <div class="related-provider-avatar">陈</div>
                                    <span>陈明</span>
                                </div>
                                <div class="skills-tags">
                                    <span class="skill-tag offering-tag">提供: 日料</span>
                                    <span class="skill-tag seeking-tag">寻求: 英语</span>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 相关技能4 -->
                        <div class="related-skill-card">
                            <div class="related-skill-image">
                                <img src="https://picsum.photos/600/400?random=13" alt="鸡尾酒调制" class="img-fluid">
                            </div>
                            <div class="related-skill-info">
                                <div class="related-skill-title">鸡尾酒调制</div>
                                <div class="related-skill-provider">
                                    <div class="related-provider-avatar">赵</div>
                                    <span>赵 bartender</span>
                                </div>
                                <div class="skills-tags">
                                    <span class="skill-tag offering-tag">提供: 调酒</span>
                                    <span class="skill-tag seeking-tag">寻求: 钢琴</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 留言区域 -->
                <div class="comments-section">
                    <div class="comments-header">
                        <h3 class="section-title comments-title">
                            <i class="fas fa-comments"></i> 留言交流
                            <span class="comments-count">(42条留言)</span>
                        </h3>
                        <div class="sort-options">
                            <select class="form-select form-select-sm sort-select">
                                <option value="latest">最新发布</option>
                                <option value="popular">最热留言</option>
                            </select>
                        </div>
                    </div>
                    
                    <!-- 留言输入框 -->
                    <div class="comment-input-container">
                        <form class="comment-form">
                            <div class="user-avatar">
                                <i class="fas fa-user"></i>
                            </div>
                            <div class="comment-input-wrapper">
                                <textarea class="comment-input" placeholder="分享你的想法，或询问关于这项技能的问题..."></textarea>
                                <div class="comment-actions">
                                    <button type="button" class="btn btn-outline-secondary btn-sm">
                                        <i class="fas fa-image"></i> 图片
                                    </button>
                                    <button type="submit" class="btn btn-primary btn-sm">
                                        <i class="fas fa-paper-plane"></i> 发表留言
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                    
                    <!-- 留言列表 -->
                    <div class="comments-list">
                        <!-- 留言1 -->
                        <div class="comment-item">
                            <div class="comment-avatar">李</div>
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author">李小明</div>
                                    <div class="comment-time">2天前</div>
                                </div>
                                <div class="comment-text">
                                    张老师的川菜教学非常棒！我上个月参加了一次线下交流，学到了很多实用技巧，现在已经能做出像样的麻婆豆腐了，非常感谢！
                                </div>
                                <div class="comment-footer">
                                    <div class="comment-action liked">
                                        <i class="fas fa-heart"></i>
                                        <span>42</span>
                                    </div>
                                    <div class="comment-action reply-toggle">
                                        <i class="fas fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复区域 -->
                                <div class="replies-container">
                                    <!-- 回复1 -->
                                    <div class="reply-item">
                                        <div class="reply-avatar">张</div>
                                        <div class="reply-content">
                                            <div class="reply-header">
                                                <div class="reply-author">张文静 <span class="text-primary">(作者)</span></div>
                                                <div class="reply-time">1天前</div>
                                            </div>
                                            <div class="reply-text">
                                                谢谢支持！很高兴你能有所收获，下次可以教我弹首简单的吉他曲哦~
                                            </div>
                                            <div class="reply-footer">
                                                <div class="comment-action">
                                                    <i class="fas fa-heart"></i>
                                                    <span>18</span>
                                                </div>
                                                <div class="comment-action reply-toggle">
                                                    <i class="fas fa-reply"></i>
                                                    <span>回复</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 回复输入框 -->
                                    <div class="reply-input-container" style="display: none;">
                                        <div class="reply-avatar">
                                            <i class="fas fa-user"></i>
                                        </div>
                                        <div class="comment-input-wrapper">
                                            <textarea class="reply-input" placeholder="回复 @李小明..."></textarea>
                                            <div class="reply-actions">
                                                <button type="button" class="btn btn-outline-secondary btn-sm cancel-reply">取消</button>
                                                <button type="button" class="btn btn-primary btn-sm">回复</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言2 -->
                        <div class="comment-item">
                            <div class="comment-avatar">王</div>
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author">王大力</div>
                                    <div class="comment-time">5天前</div>
                                </div>
                                <div class="comment-text">
                                    请问可以教授红烧肉的做法吗？尝试了很多次，总是做不出餐馆的味道，要么太柴要么太腻。另外我是吉他老师，可以交换教学~
                                </div>
                                <div class="comment-footer">
                                    <div class="comment-action">
                                        <i class="fas fa-heart"></i>
                                        <span>26</span>
                                    </div>
                                    <div class="comment-action reply-toggle">
                                        <i class="fas fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                                
                                <!-- 回复区域 -->
                                <div class="replies-container">
                                    <!-- 回复1 -->
                                    <div class="reply-item">
                                        <div class="reply-avatar">张</div>
                                        <div class="reply-content">
                                            <div class="reply-header">
                                                <div class="reply-author">张文静 <span class="text-primary">(作者)</span></div>
                                                <div class="reply-time">4天前</div>
                                            </div>
                                            <div class="reply-text">
                                                当然可以！红烧肉的关键在于选肉、焯水和火候控制，我有特别的技巧可以让肉质鲜嫩不腻。你的吉他教学正是我需要的，已经私信你了~
                                            </div>
                                            <div class="reply-footer">
                                                <div class="comment-action">
                                                    <i class="fas fa-heart"></i>
                                                    <span>12</span>
                                                </div>
                                                <div class="comment-action reply-toggle">
                                                    <i class="fas fa-reply"></i>
                                                    <span>回复</span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 留言3 -->
                        <div class="comment-item">
                            <div class="comment-avatar">陈</div>
                            <div class="comment-content">
                                <div class="comment-header">
                                    <div class="comment-author">陈明</div>
                                    <div class="comment-time">1周前</div>
                                </div>
                                <div class="comment-text">
                                    请问是线上教学还是线下？我在上海浦东，方便的话希望能线下学习，这样可以实际操作。我会弹吉他，可以教你基础和弦和简单弹唱。
                                </div>
                                <div class="comment-footer">
                                    <div class="comment-action">
                                        <i class="fas fa-heart"></i>
                                        <span>15</span>
                                    </div>
                                    <div class="comment-action reply-toggle">
                                        <i class="fas fa-reply"></i>
                                        <span>回复</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 加载更多留言 -->
                    <div class="text-center mt-3">
                        <button class="btn btn-outline-secondary">
                            <i class="fas fa-history"></i> 加载更多留言
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 右侧边栏 -->
            <div class="col-lg-4">
                <!-- 技能提供者其他技能 -->
                <div class="skill-detail-card">
                    <div class="skill-info-container">
                        <h3 class="section-title">
                            <i class="fas fa-user-circle"></i> 张文静的其他技能
                        </h3>
                        <div class="list-group">
                            <a href="#" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
                                <div>
                                    <div class="fw-medium">家常菜食谱设计</div>
                                    <small class="text-secondary">提供: 食谱设计 | 寻求: 音乐</small>
                                </div>
                                <i class="fas fa-chevron-right text-primary"></i>
                            </a>
                            <a href="#" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
                                <div>
                                    <div class="fw-medium">中式面点制作</div>
                                    <small class="text-secondary">提供: 面点 | 寻求: 绘画</small>
                                </div>
                                <i class="fas fa-chevron-right text-primary"></i>
                            </a>
                            <a href="#" class="list-group-item list-group-item-action d-flex justify-content-between align-items-center">
                                <div>
                                    <div class="fw-medium">家庭宴客菜单规划</div>
                                    <small class="text-secondary">提供: 菜单规划 | 寻求: 摄影</small>
                                </div>
                                <i class="fas fa-chevron-right text-primary"></i>
                            </a>
                        </div>
                        <div class="text-center mt-3">
                            <a href="#" class="text-primary">查看TA的全部技能 <i class="fas fa-arrow-right ms-1"></i></a>
                        </div>
                    </div>
                </div>
                
                <!-- 交换须知 -->
                <div class="skill-detail-card mt-3">
                    <div class="skill-info-container">
                        <h3 class="section-title">
                            <i class="fas fa-info-circle"></i> 交换须知
                        </h3>
                        <ul class="list-unstyled">
                            <li class="d-flex gap-2 mb-2">
                                <i class="fas fa-check-circle text-success mt-1"></i>
                                <span>交流前请明确双方需求和时间安排</span>
                            </li>
                            <li class="d-flex gap-2 mb-2">
                                <i class="fas fa-check-circle text-success mt-1"></i>
                                <span>首次线下见面建议选择公共场所</span>
                            </li>
                            <li class="d-flex gap-2 mb-2">
                                <i class="fas fa-check-circle text-success mt-1"></i>
                                <span>尊重彼此的时间，提前12小时取消需告知</span>
                            </li>
                            <li class="d-flex gap-2 mb-2">
                                <i class="fas fa-check-circle text-success mt-1"></i>
                                <span>技能交换完成后，请给予对方评价</span>
                            </li>
                            <li class="d-flex gap-2">
                                <i class="fas fa-check-circle text-success mt-1"></i>
                                <span>保持友好态度，享受技能交换的乐趣</span>
                            </li>
                        </ul>
                        <div class="mt-3 p-3 bg-primary-light rounded-lg">
                            <div class="fw-medium mb-1">遇到问题？</div>
                            <p class="text-sm text-secondary mb-2">如果在技能交换过程中有任何疑问或纠纷，可以联系平台客服</p>
                            <button class="btn btn-sm btn-outline-primary w-100">
                                <i class="fas fa-headphones"></i> 联系客服
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 图片切换功能
            const thumbnails = document.querySelectorAll('.image-thumbnail');
            const mainImage = document.getElementById('mainImage');
            
            thumbnails.forEach(thumbnail => {
                thumbnail.addEventListener('click', function() {
                    // 更新主图
                    mainImage.src = this.getAttribute('data-img');
                    
                    // 更新缩略图活跃状态
                    thumbnails.forEach(thumb => thumb.classList.remove('active'));
                    this.classList.add('active');
                });
            });
            
            // 点赞功能
            const likeButton = document.getElementById('likeButton');
            likeButton.addEventListener('click', function() {
                this.classList.toggle('active');
                const likeCount = this.querySelector('span');
                
                if (this.classList.contains('active')) {
                    likeCount.textContent = '点赞 (827)';
                } else {
                    likeCount.textContent = '点赞 (826)';
                }
            });
            
            // 收藏功能
            const saveButton = document.getElementById('saveSkill');
            saveButton.addEventListener('click', function() {
                if (this.innerHTML.includes('收藏')) {
                    this.innerHTML = '<i class="fas fa-bookmark"></i> 已收藏';
                    this.classList.remove('btn-outline-primary');
                    this.classList.add('btn-success');
                } else {
                    this.innerHTML = '<i class="fas fa-bookmark"></i> 收藏技能';
                    this.classList.remove('btn-success');
                    this.classList.add('btn-outline-primary');
                }
            });
            
            // 回复功能切换
            const replyToggles = document.querySelectorAll('.reply-toggle');
            const cancelReplies = document.querySelectorAll('.cancel-reply');
            
            replyToggles.forEach(toggle => {
                toggle.addEventListener('click', function() {
                    // 隐藏所有回复框
                    document.querySelectorAll('.reply-input-container').forEach(container => {
                        container.style.display = 'none';
                    });
                    
                    // 显示当前回复框
                    const replyContainer = this.closest('.comment-item, .reply-item')
                        .querySelector('.replies-container .reply-input-container');
                    
                    if (replyContainer) {
                        replyContainer.style.display = 'flex';
                        replyContainer.querySelector('textarea').focus();
                    }
                });
            });
            
            cancelReplies.forEach(cancel => {
                cancel.addEventListener('click', function() {
                    this.closest('.reply-input-container').style.display = 'none';
                });
            });
            
            // 评论点赞功能
            const commentLikes = document.querySelectorAll('.comment-action.liked, .comment-action:not(.reply-toggle)');
            commentLikes.forEach(like => {
                if (like.querySelector('.fas.fa-heart')) {
                    like.addEventListener('click', function() {
                        this.classList.toggle('liked');
                        const countElement = this.querySelector('span');
                        
                        if (countElement) {
                            let count = parseInt(countElement.textContent);
                            if (this.classList.contains('liked')) {
                                countElement.textContent = (count + 1).toString();
                            } else {
                                countElement.textContent = (count - 1).toString();
                            }
                        }
                    });
                }
            });
            
            // 留言提交功能
            const commentForm = document.querySelector('.comment-form');
            commentForm.addEventListener('submit', function(e) {
                e.preventDefault();
                const commentInput = this.querySelector('.comment-input');
                const commentText = commentInput.value.trim();
                
                if (commentText) {
                    alert('留言发表成功！');
                    commentInput.value = '';
                } else {
                    alert('请输入留言内容');
                }
            });
            
            // 相关技能卡片点击事件
            const relatedSkillCards = document.querySelectorAll('.related-skill-card');
            relatedSkillCards.forEach(card => {
                card.addEventListener('click', function() {
                    const skillTitle = this.querySelector('.related-skill-title').textContent;
                    alert(`查看「${skillTitle}」的详细信息`);
                });
            });
            
            // 联系按钮交互
            const contactButtons = document.querySelectorAll('.btn-primary');
            contactButtons.forEach(button => {
                if (button.innerHTML.includes('联系')) {
                    button.addEventListener('click', function() {
                        alert('正在打开与张文静的聊天窗口...');
                    });
                }
            });
        });
    </script>
</body>
</html>
    
